Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

LenB or LenBP?

My current solution is using LenB, though I'm not clear about whether it's better to use LenB or LenBP.

I'm counting bytes of my string data using LenB, then adding some overhead I've observed from testing:
- switching from single-value to multi-value text field incurs a 6-byte overhead
- each additional value in a multi-value field incurs a 2-byte overhead

It seems to be working, thought I haven't tested it thoroughly enough to ensure that I am actually squeezing in as many bytes as possible. I am at least not getting errors.

One side discovery has been that NotesItem.Values is atrociously slow for iteration if you have a large number of values. For a little over 900 values, iterating over NotesItem.Values is taking about 10 seconds. If I instead copy them all in one go to a variant (someVariant=item.Values), then it takes less than a tenth of a second to iterate over the values in the variant.


Feedback response number WEBB82SAU5 created by ~Dean Dwoboosiplopjip on 02/18/2010

How can we deal with field size lim... (~Dean Dwoboosip... 12.Feb.10)
. . NotesItem properties (~Fred Desluberg... 13.Feb.10)
. . . . Re: NotesItem properties (~Dean Dwoboosip... 13.Feb.10)
. . . . . . try LenB (~Fred Desluberg... 13.Feb.10)
. . . . . . . . LenB or LenBP? (~Dean Dwoboosip... 18.Feb.10)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS